package com.yx.front.model.param;

import com.yx.front.model.base.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author YangXiong
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BookMessageParam extends BaseParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "书名")
    private String name;

    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "分类")
    private String type;

    @ApiModelProperty(value = "分类")
    private String kind;

    @ApiModelProperty(value = "是否上架 0 未上架 1 已上架")
    private Integer enable;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "大小")
    private String size;

    @ApiModelProperty(value = "图片地址")
    private String url;

    @ApiModelProperty(value = "简介")
    private String introduction;

    @ApiModelProperty(value = "最新章节")
    private String lastChapter;

    @ApiModelProperty(value = "最后更新时间")
    private String lastUpdateTime;
}
